re-located result div and removed unused codes