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.
Merge pull request #298 from perforator85/master

parallax "glitch" in combination with bouncing