added delay to origami view so it closes after page transition completes