elevator movement
rate limit function