Fixed dropdown menu bug in mobile view