auto scales, however not working in other layouts