Fix scrolling issues in detail panel in mobile.