added a small amount of easing so the transition isn't so sharp
working on deltatime not sure how to do that lol