header grid moves when i sort a column

when i have a lot of results, the header of the grid recieves 6px (chrome)/ 17px (IE) padding, so the scroll can fit the screen. but when i sort one column the results are re-rendered and the padding goes away for like 2secs and then comes back. that behaviour makes the header move. what can i do to stop it?