Added orientation support for simple back stack