-hide ticks if labels are not visible