fix slide directive typo
allow for better layout for top index slide
improve top index layout across document types
remove extra newline
formatting