Improve functionality of carousel across browsers