Modify CSS for fitting images