Set clear button's right offset based on scrollbar.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>