Improve UI compatibility with small screen devices