splitting timeline plugin to use as a base class