applied correct class to nav