CSS based transition for the navigation bar in the mobile layout. May
need improvements.