sliding window is starting to kinda actually work