adds spaces markup and styles, and some css transitions to the navigation