Switch dropBefore|After from an id to a class