Navigation optimized

Added if conditions for navigation to send request only when all variables are cleared.
Added new loader. Older one is of 50kb and newly added is of 8kb. so it loads faster.