Adjusting the maths for the header animation based on the newer menu style (I think)