added a visible class to toggle hidden class