fixed unstyled panel when starting
added error handler to existing function
renamed to mobile.up