Dynamic action bar sizing (fixes #4)