apos-first and apos-last classes for items in buttons, files and slideshows