initial resizing implemented
minor visual tweak