Fix loading initial panel as modal window.
Merge pull request #166 from gavD/master

A couple of tiny fixes for the testdrive page
Fix $().width/height to return CSS values if they are available and work properly on window/document.

add iOS5+ render issue on scrolling navbar.

Fix touchlayer isScrolling bug with Android (now properly reports and kills double clicks)
fix width/height not checking length