After deciding on the last property, reload the page. Move animation code into a more sensible place.