use max velocity parameter to visualize bounce effect