Made rotating of cube