How to limit the distance of each scroll box sliding

The content that slid only one screen at once,to see the next screen, the content must be re sliding once, will this function should be how to achieve it?