Linking gallery to all pages