position is changed to absolute