changed CSS direction