Improve gallery look for small width (Sidebar)

* Remove the path column in details view
* Only show the theme name next to the view switch buttons
* Only show the horizontal scrollbar when necessary

Change-Id: Ia3f5d854217e883275b1a7056489dba9fac6aabb