editing sliding motion of navigation