fix #1024
if toc item has expand/collapse state and tap select on the left side
the state switch action is triggered, otherwise goto the
linked page.
expand/collapse for the left one third region should be more resonable
optimize png image to grayscale mode
Merge pull request #1025 from chrox/fix_1024

fix #1024