Fixed a scrolling bug in IE when clicking the required button