Time collapse widget functionality added.