Use transform instead of width

This solves the problem with Firefox.