Right mouse button doesn't work in viewport

Hi!

When i click the viewport window with the rmb and try to drag to pan/tilt, it works really glitchy sometimes, and most times not at all. It only opens a drop-down menu for the element the mouse is on top of.

I have a basic Microsoft mouse.

Is there any other button for panning than rmb?