added folder management and proper file handling to grid_image_box
from last days