refact away from kapi-scroll stuff