view and sidebar fix