make header sticky, fix bugs