Changed tile scrolling code a little