CSS change so hide transition stays in place