Fixed scrolling animation bug