Use Bootstrap's transition mixin
Mastfoot