refactor main CSS to use display table for permanent sticky footer. Adjust sidebar JS so sidebar doesn't flicker on mobile devices