resolvendo problema ao scrollar a main gallery e bottom gallery