firefox resizing fix