Remove unwanted resources and correct application flow.

Removed unwanted background resources and corrected app flow with ref of
Slidebar.