second page added + second page move fixed
js modified for new undeprecated transition