move gridster code into FreeboardUI