helper method for retrieving slide based on index (closes #293)