from http://tympanus.net/codrops/2013/10/25/split-layout/