Sticky headers suffer from one glaring issue: If the page loads to an #anchor position, the sticky header covers up the anchor. Fix:
window.onload = function()
{
var titlebarfixcoverfunction = function()
{
if (location.hash.indexOf('#') > -1)
{
var titlebar = document.getElementById('title');
window.scrollBy(0, -titlebar.offsetHeight);
}
};
titlebarfixcoverfunction();
window.addEventListener('hashchange', titlebarfixcoverfunction);
}