reduce middle img max-height to 400px
reduce sleep time of resize function from 500ms to 250ms
add pdf link support
change loading.gif
we can now navigate to the next or previous page with ctrl+arrow key