added cssclass to prepOverlay