generate css sprites automagically