added clicking for thumb images