Add conditional 'open' class