Smooth switch between first and third person

It did what i wanted but also added a couple of bugs