change div order for warnings/messages