mod: started with storing layout in localstorage