The scroll-to-top seems to get in the way on mobile devices. So what I’ve done is wrote this code and added to the themes functions.php file. In most cases, you probably want to add this code to a separate plugin so you can get theme updates still or at least create a child theme. Anyways, here is the code to hide the scroll to top on mobile devices:
/**
* Hide scroll-to-top on mobile
*/
if ( wp_is_mobile() ) {
add_action('wp_footer', 'sm_up_container');
}
function sm_up_container() {
echo "<style>.sm-up-container { display: none !important; }</style>";
}