Fix for slideBy = 'page' without dots

Fixed a problem where pages where not being calculated if dots was
inactive, but slideBy was set to „page“