line animation on navigation