Disable scroll event while resizing browser