smoother trasition with transform translate