adding custom layout manager