fix extra keydown handler registration, fixes #17825
Pager bidi support, fixes #17754