Fixed sliding window to actually slide