perfected logic for waypoint and navigation menu highlight. added style for media width 400 to 767 px.