fix gallery nav