Go to top function after submission