Created top bar functionality.