Fixed dropdown menu rotation bug on iPad