Refactor to automate the addition of slide numbers and id's to the panels.