added conditionals for sticky nav