adds linear gradient to nav bar