Minor change on the back to top function