added zoom function for thumbnail popup