added grid 'g' key and property pan 'p' key