Resize layout when window resizes
Debug text removed