404 and bug fixes

Bug fixes:

1. Stray navigation in 404 page
2. fixed is_frontpage in header
3. fixed js for mobile nav
4. other bugs