Preventing parallaxing when left or right side would bounce too far and would show a small area the mainWindow which does not look very nice.