Prova ad usare offset() invece che position.