The screen size how now being programmatically calculated instead of hard coded. This is in preparation for auto layout support of popups.