viewport adjustment