Use CSS tricks for the content area and remove the need for JS.