Resize according to the viewport width.