Added homepage expand functionality