Fix URL index in $.fn.moveTo