determine correct screen size
make lazy initialization really work