auto show hide loader