conditions, branching (hardcoded), viewbox

- added conditions (hardcoded)
- viewbox can be zoomed and dragged