add display rotate sample