-Fixed a problem where the first slide was not being selected