added reopen last closed tab functionality