Added functionality to add a new card whe it reaches the first/last position in the week