adjust iframe open/close transitions