move toggle functions back inside commentPage