some thoughts

I did some changes for a proper resize handling and a regular stylesheet preprocessor (http://sass-lang.com/). Did the timeout-killer just in your example 12. But should be adopted on all your js in use.