adding scroll view subclass and implementing in register view