* fixed #28

Fixed an issue where a `TypeError` would occur when dragging an item to the top of the page.