active captions toggling correctly and integrated with scroll