making sure that the imageview is same size as containerview