updates styles for navigation