Sliding window on input bar