function showHideScrollToTop() {
    if ($(window).width() < 1024 && $(this).scrollTop() > 300) {
        $('#web-express-scroll-to-top').fadeIn();  // show button
    } else {
        $('#web-express-scroll-to-top').fadeOut(); // hide button
    }
}
/** scroll-to-top functionality for mobile and tablets */
scroll-to-top functionality for mobile and tablets
scroll - to - top functionality for mobile and tablets
function showHideScrollToTop() {
    if ($(window).width() < 1024 && $(this).scrollTop() > 300) {
        $('#web-express-scroll-to-top').fadeIn();  
    } else {
        $('#web-express-scroll-to-top').fadeOut(); 
    }
}
function showHideScrollToTop ( ) { if ( $ ( window ) . width ( ) < 1024 && $ ( this ) . scrollTop ( ) > 300 ) { $ ( '#web-express-scroll-to-top' ) . fadeIn ( ) ; } else { $ ( '#web-express-scroll-to-top' ) . fadeOut ( ) ; } }
scroll-to-top functionality for mobile and tablets
scroll - to - top functionality for mobile and tablets
// show button // hide button