Helper methods for using css transitions with jQuery