improve comments for slideView.js