adding events on item click
handling negative hours with no days