Implemented magnifying window when clicking image in gallery