Get vertical layout manager working properly