refactor nav styles to use transformations