support for opening layer without navigation bar
Added failing testcase for navigation bar showing when it is not showed