Adding hide/show action to postBar