Improved sidebar performance on mobile