added reset and new size buttons, as well as some style