add autosliding mode
Merge pull request #2 from acvetkov/master

add autosliding mode