Perform sliding window operation during frame gap handling.