added a less dumb way of doing vertical sprite scrolling.