Add animation mixins. Tidy and organise entire mixins file. Closes #255. Closes #299