loading bar and responsive till tablet