added ios orientation fix