adds size method to window
adds box line