Closes #215 enterviewport and exitviewport events are implemented