changed layout so it works in landscape too