adjust view bounds