fix viewport and add a new loader gif