let's detect the privious view