fix gallery links
fix main nav