appending overlay before the wrapper