adding centered class to menu