Make sure ordering item can still be found

This change adds a if statement to cancel the request animation frame
callback if the ordering item is gone from DOM.

This should fix #2147
new js build
Merge pull request #2151 from DeuxHuitHuit/issue-2147

Fix for Issue 2147