cleaning up layout code
set up async google maps geolocation, but can't block effectively on hook