modify purchase grid show/hide

change from display to visibility so the table keeps its shape and chaos is minimized