use a timer to sync the header contentX
when the count of pages changes is necessary to sync the position in a delayed way or the position will be resetted at 0,0