This can probably go directly in the view controller it's needed in. The animator is used in every view so I created this base view but the collision behavior is only in a few of them.