solved NPE in layoutChildren() when removing child Views

StaggeredGridView.layoutChildren() can trigger an NPE when it removes child Views because it iterates on the original number of child Views. 

Solved this by adjusting the looping condition and the increment (so we don't skip over new ith element).