Use transform with translate3d instead of margins
Added easing option