create min and max width of page