[ticket/12662] Move dropdown container from <li> to new inner div

PHPBB3-12662