layout now rotates properly