easy way to make smooth velocity instead of laggy movement
credit to @djpro for movement and neevshanbhag for idea check out original project!