Make adjustments on neighbors tab for mobile

It closes #337.