Pager bidi support, fixes #17754