fix reorder pages in Chrome, close issue #580