refactored visualization logic. Drawing timeslots and appointments is now more modular