render function instead of rende callbacks maks a better design
now resisable
tocca for touch