Adding code for side view to see details