adding friction for less movements in the graph