min toggle view working