determined the screen sizes in dp correctly and almost able to scale the waveform chart dynamically