MMB not panning in View Port

So everything was working perfectly fine, and all of a sudden the MMB stopped panning up and down in the view port window. The MMB works fine in other windows, but just stopped working in 3D viewport.