improve getting viewport sizes + improve documentation