Make sure currentSlide is a number

Make sure that currentSlide is a number and not a string. If it is a
string like '1', FlexSlider will start appending instead of doing the
correct calculations.
Merge pull request #614 from tiagonoronha/develop

Make sure currentSlide is a number