Right, if you call it in positionHeaders() each time it would, but you can call calculateNavbar() once and pass that into positionHeaders()