add expand button, change image height to max-height