added scroll padding to tests
started to implement updating state based on scroll position
refactored tests so that automatic and manual tests don't conflict