removing height to figure on image load