remove code to fix collapsed bug

These codes will cause some bugs: When the first controller’s nag bar is collapsed, then I push the second controller, the nag bar will be a area of black at this time.