Bug 1051100 - [B2G] [Homescreen] Multiple lines are displayed when movin...

...g apps to the bottom of the Homescreen

* Before adding a horizontal divider on the vertical homescreen, check if one is needed.
Thank you for the feedback! From the Github line note I couldn't tell exactly which is the started line of the block you mentioned though. The code from line 297 to 308 is only needed in edit mode so I wrapped it in the if block. Line 304 to line 308 running in non-edit mode will cause test failure.