cleaned up resizing
Merge pull request #32 from keenlabs/connected-devices2

cleaned up resizing