modifying layout to work for landscape