changed easing function, done for the night