Responsive HTML5/JavaScript navigation post