add functionality and styles to horizontal navigation