$(window).on('resize', alignAllPages);