Had to add zIndex to navigation functions