grid toggle with js - flavio e renan