Fix scrolling to first and last card.
Currently, one cannot scroll to the first and last card as they are not positioned it the center.
The current card is set to the card that is in the center such that scrolling also updates the current card.
Ultimately, it would be nice if the first card starts out in the middle and then, when scrolling or pressing a button, all cards shift to the left/right in such a way that one of the neighboring cards is then in the middle.
Fix scrolling to first and last card. Currently, one cannot scroll to the first and last card as they are not positioned it the center. The current card is set to the card that is in the center such that scrolling also updates the current card. Ultimately, it would be nice if the first card starts out in the middle and then, when scrolling or pressing a button, all cards shift to the left/right in such a way that one of the neighboring cards is then in the middle.