add another parameter( isByArrowKey) to differenciate if the focus is
made by arrow key
Merge pull request #263 from shanghaikid/addAnotherParamToDiffByKey

add another parameter( isByArrowKey) to differentiate if the focus is