added screen rotation