Made buttons work for images >700x700