When the notification bar is closed, it fades and then disappears. The fade metaphor is gradual removal, but the bar's size remains the same during the fade. It is then removed in one go, which jarringly pops the rest of the page to the top.
It would make more sense to either
Just instantly close the bar.
Decrease the height of the bar at the same rate as the fade, making the gradual metaphor consistent.