Rewritten the tag part, and added templates for nav-bar and tag panel