Fix safai and IE adaptive navbar (incorrect  .width()). Need refactoring!!!