Add relative position to li