Added option for pinning the top bar.