equals and compares method for floating task
resizable mainwindow