Fix for possible crash when frame jumping and the frame you're jumping to doesn't have the same polygroup
Added template code behind file for starting drag and drop reordering.