update transition animation to fit mobile browser