fix absolute menu position in some cases

toggle the container open after positioning the menu - before the parent
container would contain the menu height before the css position was
changed, which offset it incorrectly the first time the menu was
displayed