Switches the content order of two elements in the dom at a snap point