Apply 'ui-btn-active' to button associated to the page shown.
jQuery Mobile
jQuery 1.9.1, HTML, CSS, JavaScript
Horizontal / Vertical according to screen width. jQuery Mobile
JQuery Mobile
jQuery 2.1.3, HTML, CSS, JavaScript