working left and right menu