Adds active and timeline classes