getPosition of any element