Bubblesort animation works