added nav back behavior