added style and animation on nav