Simply modify your view_button function and add more states (that is cases in the switch branch). There you could change the x-distance of the player to the camera. Example:
BMAP* close_button = "far_button.jpg";
case 6: // close
player.x = 50;
break;
case 7: // normal
player.x = 100;
break;
case 8: // far
player.x = 150;
break;
...
button(376,0,side_view_button,side_view_button,side_view_button,view_button,null,null);
button(xxx,0,close_button,....