figured out a better way to do module animations