Fixed dropdown menus positioning after resize