Pointing upwards is likely depend on your firmware version (if available in your firmware), your Euler angle setting. Shaking can be anything from poor balancing to a D value that is too low to being underpowered. Usually, the first step is to raise your D value for that axis. What are your P,I,D, and power settings for your pitch motor?