Re-arrange HTML5 slide