Added resize functionality and reworked UI