Updated scroll logic, added active classes to nav thumbs, added comments