updated transition css to only apply once open