Improved the responsiveness of the main and second page