Updates images to display in a grid and adds a border around images that changes color when hovered on