added handling for small screens to home, search and risks pages