No, I’m not trying to rob you. This is a handy little bit of code to keep your tool bars at the top.
While we would all love to create slick applications with a sleek UI (read: not a lot of stuff on the page), most of us are creating enterprise applications that often require lengthy forms with field after field after field. There are of course many solutions to attempt to deal with the issue. You can break the form up into tabs (don’t get me started on this, tabs are another article), or sections, or maybe a wizard. You can just give up and have a lengthy form, but then what do you do when the user wants to save? Make them scroll all the way to the top or the bottom of the page?