yearview: add past and future css class