Create grid view and improve action bar behavior