rearrange the elements in add food page