Fixed spinner issue/Fixed safari mobile back button