click on thumbnail to enter gallery