created animateFretLines function