added autoClose feature for infoBox, using mouse events