Fixed Speedbug

After a resize the animation got faster and faster. This is fixed now.