Bug-fixes and tweaks
Increased delay before opening sidebars in height switching demo
Removed min-height from persistent styles creation, which was causing issues when switching orientation
Renamed height variable to prevent confusion
Changed dummy height code to work on iOS