fixed issue with advancing carousel