make the page auto sized instead of fixed size
use localstorage to remember current slide position