removed references to scrollkeeper
use the correct deallocation function/macro