reset image height and width after second click