Refactor frontend: next we should unify our style implementation
Rules to drop sidebar when empty