viewport keeps moving

The viewport keeps moving eventhough i’ve stopped pressing the moving button