added support for rotating alert view when device rotates