sliding window tweaks