Added the same stuff to the isElementInView from the isElementPartlyInView
You all love me for doing this :I