programmatic sidebar

made each module generate its own square