Fix #411 moving window slide bug

- add function for explicit slide counter incrementation
- remove const from function which change inner class state

*I hobe this patch fix the bug in #411, the problem is that I can't reproduce the bug*

@ax3l please check if this helps you