top nav for mobile device rewriting completed