Build sliding and jumping functionality