Updated the script for the sidebar animating. Fixed the infinite scroll issue. Comments added.