Fixed the not working navbar after introducing ng-touch