Refactor: Move carousel() to util.py