add easing to images