wrote temporary fix for disappear onclick error in desktop view for navbar