updated bottom bar to be more generic