added resume hide/show