added ability to hide and show rows