add compact view, fix #267, merry christmas ;D