Slightly optimized slidebox code

All slides that are further away than +2 or -2 from the current slide will have visibility hidden. This speeds up rendering and prevents iOS from crashing (40+ full screen slides)