fixed an issue if a user swipes too fast initially.