Fix changing between list widget tabs in jquery 1.9