gallery nav working