Added support for nested scrolly. Fixed scoping issues with toggle.