add overlay and transparent feature to panel