Changes to make navigtion bar mobile compatible