Add easing in/out to fx animation