make highest values follow sliding window