fixed transition on close