Fix slide time

this mainly fix few issues found during testing