slide with timer and keypress