added conditional transparent class to navigation