Automatically expand menu