added synamic styling for completed todo items