1jQuery(document).ready(function() { 2 /* rearrange elements on smartphones and small web browser windows */ 3 if(jQuery(window).width() < 460){ 4 jQuery(".footer").insertAfter(".sidebarback"); 5 }; 6});