slide style handling