Switch hiding content to CSS instead of js