Fix some bugs in tabs, improve CSS looks a little.