Just riding along slow
It follows, slow speed riding a two-wheel motorcycle can be difficult; so, the bike wants to fall over and rest on its side. That is not the intent of keeping two-wheels down and bike under controlled riding at slow speed. There exists a number of great riding instruction articles available; for example, see generally, Slow Speed Maneuvers – Back to Basics, (good pointers to keep in-in-mind while riding along) http://www.ridemyown.com/articles/riding/BTB-slowspeed.shtml (last visited Feb 1, 2016)
How it’s done
I think this, three concepts that contribute to the motorcycle desire to fall-over and rest on the ground: 1) the motorcycle upper parts and weight must always be over the lower wheels for supporting the bike upright; 2) motorcycle handlebars control the direction front wheel is pointed and the direction front wheel travels toward, so front wheel pointed direction and speed of motorcycle will determine how slow- or how-fast the front wheel can relocate its position underneath the upper bike frame and support the bike weight balanced; 3) as a result, as the upper part of the bike leans over, to stop the lean, point the front tire in the leaning direction and all enough bike speed to move the front tire under the upper part of the leaned bike; as a result, the leaning bike lean will be slowed then stopped.
Also, be careful with both steering and throttle control inputs because with the bike leaning towards one direction but over applied steering or twists-of-the-wrist (throttle) control might cause the bike to lean towards the other side or just not move the front wheel under the upper part of the bike fast enough to compensate for the speed of the bike lean and its fall over. Therefore, practice “throttle” and “handlebars” controls until this is engrained into your unconcise physical control reactions.
Where to practice
Specifically, all your motorcycle practices must be done in large open hard surfaced parking lots or areas, free of cars and other obstructions, and wearing your best fall-protection garments and helmet because falls of bike and rider is likely while learning.