you're using just 1 panel, but want it to move left and right? or making a panel flip from left to right? or 2 similar panels that appear in different places? or 2 totally different panels?

do you have a screen shot of what you're trying to create?

Code:
void move_left(){
//...
}

void move_right(){
//...
}

void main(){
//...
  on_cul = move_left;
  on_cur = move_right;
}