will now handle orientation changes