add transition styles to nav