hacky implementation of animations