update log function from https://gist.github.com/bgrins/5108712
allow buttons to show on flat picker
visibility:hidden to better match layout