viewport fix
fixed readme#functions, update demo