Changed overlay layout to linear