refactor usage of bounding box, and scale animation parameters based on view size of the client
improve logging, add gallery, and handle server errors gracefully on the client side