Added support for tabs in the page stack