Responsive issue due to rounding errors.

Adding a Math.round on line numbers 659 and 670 around the division calculations. This solved an issue with having my slides wrapping due to rounding errors.