fixes #8; improved switching of perspectives