Added expand & toggle js function.