handle back key differently