Removed _isInsideViewport todo
Better performance!

Minimized calculations, reorganized functions
Better performance!!

Again, streamlined execution and removed unnecessary calculations