Adds progress bar while making request to the backend
Fixes too large or too small bug