Added the ability to lock bar to top of page or float with top of page