fixed sliding and jumping