improved menu positioning