Check that the @ppbar is in the OPENED state when the back button is pressed to prevent starting the closing animation repeatedly.

Change-Id: I0ae801ca9371e8c63dd9b1a8ea642cfab9b7f3d5
Get the window height when laying out the bar so the height of the items can be calculated to best fit that height.

Change-Id: I3c6d4a9859d6a8da8c006006c4d2a5fc7d20e393
AppSidebar: remove view, before recreating it

Change-Id: I212795e428b4f23516c53a0a2eaa860eba371508