updated mcslider to cope with 0 previous slides