refactor(ripple): adds support for non-fixed tabs

Closes #825.
Closes #460.
Wouldn't it better (e.g. more DRY/future-proof) to use a media query and `$mdConstant.MEDIA.sm` ?

This is also a great example why `$mdMedia` would be usefull as a standalone service (outside of sidenav).