adapt slide shadow to background