cleaned up a bit, removed most of the trajectory easing stuff so if needed then needs to have a look at earlier revisions.