Move elements around using jQuery

I prefer not to duplicate code, so this gist allows for moving DOM elements on window resize, at 768px.