Reposition progress bar and reorganize preview DOM