add dynamic viewport that fits the whole path to the given screen instead of a fix zomm value