issue #1 Implemented tabbar hiding when empty page shown.