Specify only width or height for responsive resizing to work