I am working on building a navigation system similar to Google Play, where there are fixed tabs for browsing through the app. I have created a container div that holds various content sections.
<div id="container">
<div class="section"> ... </div>
<div class="section"> ... </div>
<div class="section"> ... </div>
</div>
To enable sliding between sections, I have set the width of the container to 300% and adjust its left property based on the button pressed.
Now, my question is: How can I prevent horizontal scrolling of the viewport while navigating through the sections?