animation now smoother for gallery page
resolved merge conflict