Original source here: http://tympanus.net/codrops/2013/04/23/fullscreen-layout-with-page-transitions/