Added IE fix on closing the bar