merged fade and slide functions into one.
now going back to first slide when ‘next’ button clicked while currently on the last slide. same goes for ‘first’ button.