fixes on lead_detail function
include GFEntryList class
Corrected the switch logic
Added lightbox class and target calculation for post_image