add bgrenderer resize function to shell