don't get into negative slide number