Add initial support for resizing screen