Made sidebar background a global variable for the sidebar object
fixed engine passing