add project miniize and amximize functionality