convert tools into normalWindow
fix center functions to set fixed coordinated