Added the scrolling mechanism on the actor's update method.