Cas: fixed ajax error. Now clicking another habit will cause other graphs to collapse - only 1 graph open at any one time