bugfix: fix loop scrolling in shorter pages
Merge pull request #794 from chrox/scroll_fix

bugfix: fix loop scrolling in shorter pages
bugfix: fix loop scrolling at the beginning/end of the document
Merge pull request #796 from chrox/new_ui_code

bugfix: fix loop scrolling at the beginning/end of the document
fix: properly initilize key_map for KT
fix: add empty Input.modifiers for KT from eureka
Merge pull request #797 from houqp/new_ui_fix

fix: properly initilize key_map for KT from eureka at mobileread
Merge pull request #798 from houqp/new_ui_houqp

add touchmenu
bugfix: clamp scroll offsets
Merge pull request #799 from chrox/new_ui_code

bugfix: clamp scroll offsets
comments for clamping scroll offsets
Merge pull request #800 from chrox/new_ui_code

comments for clamping scroll offsets
add scaleByDPI and use it in touchmenu