resizing for all browsers