Improve the layout responsiveness