Static panel code

Uses less code, provides more flexibility, and exposed a missing </div>
tag.