refactored and fixed tooltipHide function
tooltip js fixed for responsive