changed keydown to keyup so maybe it'll now work with phones.