Added basic scrolling with collision detection