Fixing mobile toggle button by moving the script tags from head to body (at the bottom)