Not sure if this is an ideal place to ask or if it's more of a general animation/physicsy type question.
I've been goofing around with something here: http://codepen.io/TechRomancer/pen/yJLKrB
Basically I'm trying to mimic the way that an undismissable notification, in android, behaves. So that I can use it when dragging each chat card right to a maximum x position.
Essentially it has a maximum distance it can travel, and will sort of ease into that position.
By that I mean, when it is dragged it will travel more and more slowly until reaching it's maximum x position.
Sort of like this here: https://gfycat.com/NaiveDishonestHermitcrab
Notice how the speed the card moves slows unti
