Updated drop function to use .on instead of .hover to account for dynamically created DOM elements.