Fix bug where end class was not present if the total slides is equal to the current max display on load.