Fix these issues:
1. Active status in nav bar does not show.
2. Active status in sample tab bar does not show correctly.
The tab label shows active, but the content does not show.
3. Page width is greater than current screen. A X-scroll always shows there.

Signed-off-by: chinafzy <chinafzy1978@gmail.com>