fixes minor autoslide bug