I normally use the following to redirect to any page without using window.location.href in Sveltekit
import { goto } from '$app/navigation';
const goSomeWhere = () :void => {
goto('/')
}
But how do we make it go back to the previous page? Should I just use the vanilla javascript to go back?