shrink header sooner and fix js scrollto position accordingly