complete code rework of home menu