adjust open/close transitions