How can I add knockback to my 2d platformer so it looks smooth?