added velocity to check for drag up or drag down