fix deprecated usage of body.scrollTop
move card-handling logic into root scope

fix a bug where we were hitting the server even if the card was already
open
put methods directly on root scope
add :alias option to 'show' keyword for changing label text