add IE support
avoid create global variables & simpilfy
add more keyboard shortcuts
calc top via "pos" instead of "index", cause "index" here is not always the target section index
update min.js & demo