Stop page reloading; photo gallery photos not enlarging