fix a bug where the initial pan allows overpan despite allowLeftOverpan=YES
Merge commit 'f67d31c65dde6d8a6a0477e8e592e7e4a61a3657'
Fixing a bug where allowRightOverpan = NO was ignored when panning from center panel.