Added show/hide functions to the navbar