fix link colors and optimize search paging on mobile devices