Demos: fixed mistake in code to trigger "updatelayout.
Dialog: Append close button to first found header to prevent a close button being added to popup on same page as well. Fixes #5382.
Popup: Make sure close() only acts if the popup on which it is called is the currently open popup
Merge branch 'master' into simple-nav-merge

Conflicts:
	js/jquery.mobile.navigation.js
Popup: Generate history entry when opening from an initial URL containing a hash key
improvements and simplifications to the panel CSS and how it's applied. Breakpoints no longer needed. Still having issues after repeatedly opening
qualified animations to animate option - default true
moved clip to visibility - same effect
just pushing an overflow change for Todd to test
Panels: Added docs on animation option
support disabling pushstate with option
brought back scroll x prevention
added hw accel
Merge branch 'slide-panel-refactor' of https://github.com/jquery/jquery-mobile into slide-panel-refactor

* 'slide-panel-refactor' of https://github.com/jquery/jquery-mobile:
  Panels: Added docs on animation option
added a page class to prevent blinking
only hide page overflow when panel is open
fixed up the class additions and removals
dismiss div alignment adjustments
bind and unbind transitionend listeners on first callback - only the first should fire
moved path helper tests out to test unit subdir, added squash tests