Revert "add sliding code"

This reverts commit 081211e8c3811d9dddd981584dceaf3fd84fd592.