changing width on resize