Controlling drop shadows in Photoshop

How can i get rid of those side (left and right) shadows? i have changed angles,ticked off global lights, moved manually and changed contours- all to no avail. even changed layer stacking! and then i notice every layer with drop shadow effect produces shadow in everyenter image description here direction possible-left right up and down… i want this middle panel to cast shadow only in up and down. how can i achieve that? Thank you :'(