Altered calculation of menu position so menu doesn't 'jump' by 1px when opened