fix back-to-top button visibility due to recent layout changes