added dynamic sizing to header on window scroll