added switchable grid ui