fixed a bug where user could overpan on the left even if allowLeftOverpa...

fixed a bug where user could overpan on the left even if allowLeftOverpan was set to false