make header slightly transparent and refactor