Created standalone static variables for cell's width and  height in MainActivity. Using it in MainActivity and ImageAdapter.