added effect to nav bar