add effects to menu before load page