Replacing hidden with opacity