Move_to_top obsolet, instead now it calculates the offset on the fly