add class to hide all elements