change class position