Renamed render_fun as body_fun to avoid compile error

Hello,
I know the sync_panel is under development, but as I had to rename it in my local machine to compile, I send it :) I changed the name of the render_function to body_function too, to keep a similar name to body_fun.