shifted to keydown because of android browser